package com.program.facesigninsystem.iteration.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

/**
 * <p>
 * 
 * </p>
 *
 * @author GA
 * @since 2022-05-06
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
@ApiModel(value="UserEntity对象", description="")
public class UserEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String uid;

    private String openid;

    private Integer type;

    private String name;

    private String sex;

    private Integer age;

    private String address;

    private String phone;

    private String email;

    private String university;

    private String academy;

    private String major;

    private String className;

    private String avatar;

    private String token;

    private Integer issued;

    private String uid1;

    private String password;

    private String salt;

    @ApiModelProperty(value = "角色id：0:普通用户 1：校级管理员 2：院级管理员 3：专业管理员")
    private Integer roleid;

    @ApiModelProperty(value = "绑定id")
    private Integer bindid;

    @ApiModelProperty(value = "是否通过审核")
    private Integer isexamine;

    private String nickname;

    @ApiModelProperty(value = "组织ID")
    private Integer adminGroupId;

    @ApiModelProperty(value = "教职工号")
    private String jobNumber;

    @ApiModelProperty(value = "是否开放考勤结果：1-是 0-否")
    private Integer whetherSeeAttendance;


}
